home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 October: Mac OS SDK / Dev.CD Oct 97 SDK1.toast / Development Kits (Disc 1) / QuickDraw GX / Programming Stuff / Sample Code / Printing Samples / Extensions… / UserItems ƒ / UserItems.make < prev    next >
Encoding:
Text File  |  1996-06-15  |  1.2 KB  |  49 lines  |  [TEXT/MPS ]

  1. #    File:        UserItems.make
  2. #   Target:     UserItems
  3. #   Sources:    UserItems.a UserItems.c UserItems.r
  4. #   Created:    Sunday, Jun. 6, 1993 1:42:32 AM
  5. #
  6. #    Makefile for a printing extension that shows how
  7. #    to handle hits and updates for userItems in panels.
  8. #    
  9. #    Dave Hersey
  10. #    Apple Developer Technical Support
  11. #    
  12. #    06/06/93 - dmh - Created.
  13. #    09/07/93 - dmh - Updated for b2.
  14. #    12/18/93 - dmh - Updated for b3.
  15. #    8/24/94 - dmh - Finalized.
  16. #     6/14/96 - cn  - Updated to support MPW Pro #19.
  17. #
  18.  
  19. #    Alias to the path for the GX interface files.
  20.  
  21. INTPATH = "{CIncludes}"
  22.  
  23. #    Creator type we'll use:
  24.  
  25. kCreator = 'U$∑®'
  26.  
  27.  
  28. OBJECTS = UserItems.a.o UserItems.c.o
  29. AsmOptions        = -sym off -i {INTPATH} -case obj
  30. CompileOptions    = -opt full -d applec -b2 -r -i {INTPATH}
  31.  
  32. UserItems.a.o ƒ UserItems.make UserItems.a
  33.      Asm {AsmOptions} UserItems.a
  34. UserItems.c.o ƒ UserItems.make UserItems.c
  35.     SC {CompileOptions} UserItems.c
  36.  
  37. UserItems ƒƒ UserItems.make UserItems.r {OBJECTS}
  38.     Link    -ra =resSysHeap,resPurgeable    ∂
  39.             -t 'pext'                        ∂
  40.             -c {kCreator}                    ∂
  41.             -rt pext=0                        ∂
  42.             -sg SEGS                        ∂
  43.             -m EntryPoint                    ∂
  44.             {OBJECTS}                        ∂
  45.             "{Libraries}MacRuntime.o"            ∂
  46.             -o UserItems;
  47.     SetFile UserItems -a iB;
  48.     Rez -i {INTPATH} -rd -o UserItems UserItems.r -append 
  49.